all: pagerank

pagerank: pagerank_hmwk.cu mp1-util.h
	nvcc -o pagerank pagerank_hmwk.cu -O3 --generate-code arch=compute_20,code=sm_20 --generate-code arch=compute_11,code=sm_11 --generate-code arch=compute_10,code=sm_10 --generate-code arch=compute_12,code=sm_12 --generate-code arch=compute_13,code=sm_13

pagerank_solution: pagerank_solution.cu mp1-util.h
	nvcc -o pagerank_solution pagerank_solution.cu -O3 --generate-code arch=compute_20,code=sm_20 --generate-code arch=compute_11,code=sm_11 --generate-code arch=compute_10,code=sm_10 --generate-code arch=compute_12,code=sm_12 --generate-code arch=compute_13,code=sm_13


clean:
	rm pagerank
